package com.atguigu.gulimall.product.Fallback;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.product.feign.SeckillFeignService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class SeckillFallback implements SeckillFeignService {

    @Override
    public R querySkuSeckillInfo(String skuId) {
        log.info("秒杀服务的熔断方法。。。querySkuSeckillInfo");
        return R.error();
    }
}
